/* eslint-disable eol-last */
/* eslint-disable indent */
'use strict';

module.exports = app => {
    const { router, controller } = app;

    // 关注
    router.post('/api/profile/follow', app.middleware.loginChecks.loginCheck, controller.profile.follow);
    // 取消关注
    router.post('/api/profile/unFollow', app.middleware.loginChecks.loginCheck, controller.profile.unFollow);
};